#ifndef ASQUERYVIEWMODEL_H
#define ASQUERYVIEWMODEL_H

#include <QtCore/qglobal.h>

#ifdef ASDATACENTER_LIB
# define ASDATACENTER_EXPORT Q_DECL_EXPORT
#else
# define ASDATACENTER_EXPORT Q_DECL_IMPORT
#endif

#include <CommonBase/QSqlTableModelEx.h>

class ASDATACENTER_EXPORT ASQueryViewModel : public QSqlTableModelEx
{
	Q_OBJECT

public:
	ASQueryViewModel(QObject *parent,QSqlDatabase db);
	~ASQueryViewModel();

protected:
	virtual		QVariant	displayTextData(const QModelIndex &idx, int role  = Qt::DisplayRole ) const;
	
};



#endif // ASQUERYVIEWMODEL_H
